@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  background-color: #f6f6f6;
  font: 14px/20px "Lato", Arial, sans-serif;
  color: white;
  margin: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  height: 100vh;
  background-color: #444753;
  display: flex;
  flex-wrap: wrap;
}
.message-data-name {
   font-size: 16px;
   color: #86bb71;
   /*font-weight: bold;*/
 }
.message-data-name-self {
   font-size: 16px;
   color: #93c0ec;
   /*font-weight: bold;*/
 }
.people-list {
  width: 30%;
  height: calc(100vh - 70px);
  overflow-y: auto;
  background-color: #4e5059;
}

.people-list .search {
  padding: 20px;
}

.people-list input {
  border-radius: 3px;
  border: none;
  padding: 14px;
  color: white;
  background: #6a6c75;
  width: 90%;
  font-size: 14px;
}

.people-list .fa-search {
  position: relative;
  left: -25px;
}

.people-list ul {
  margin: 20px;
  /*padding: 20px;*/
}

.people-list ul li {
  cursor: pointer;
  padding-bottom: 20px;
}

.people-list img {
  float: left;
}

.people-list .about {
  float: left;
  margin-top: 8px;
  padding-left: 8px;
}

.people-list .status {
  color: #92959E;
}

.chat {
  width: 70%;
  background-color: #f2f5f8;
  color: #434651;
  height: 100vh;
}

.chat .chat-header {
  padding: 20px;
  border-bottom: 2px solid white;
  display: flex;
  align-items: center;
}

.chat .chat-header img {
  float: left;
}

.chat .chat-header .chat-with {
  font-weight: bold;
  font-size: 16px;
  margin-left: 10px;
}

.chat .chat-header .chat-num-messages {
  color: #92959E;
  margin-left: 10px;
}

.chat .chat-header .fa-star {
  float: right;
  color: #D8DADF;
  font-size: 20px;
  margin-top: 12px;
}

.chat .chat-history {
  /*padding: 30px;*/
  margin: 20px;
  border-bottom: 2px solid white;
  overflow-y: auto;
  height: calc(100% - 110px);
}

.chat .chat-history .message-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  margin-right: 5px;
}

.chat .chat-history .message-data-time {
  color: #a8aab1;
  margin-left: 10px;
}

.chat .chat-history .message {
  color: white;
  padding: 18px 20px;
  line-height: 26px;
  font-size: 16px;
  border-radius: 7px;
  margin-bottom: 30px;
  position: relative;
}

.chat .chat-history .message:after {
  bottom: 100%;
  left: 7%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #86BB71;
  border-width: 10px;
  margin-left: -10px;
}

.chat .chat-history .my-message {
  background: #86BB71;
  align-self: flex-end;
}

.chat .chat-history .other-message {
  background: #94C2ED;
}

.chat .chat-history .other-message:after {
  border-bottom-color: #94C2ED;
  left: 93%;
}

.chat .chat-message {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat .chat-message textarea {
  width: 100%;
  border: none;
  padding: 10px 20px;
  font: 14px/22px "Lato", Arial, sans-serif;
  margin-right: 10px;
  border-radius: 5px;
  resize: none;
}

.chat .chat-message .fa-file-o, .chat .chat-message .fa-file-image-o {
  font-size: 16px;
  color: gray;
  cursor: pointer;
}

.chat .chat-message button {
  float: right;
  color: #94C2ED;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background: #F2F5F8;
}
.chat .chat-message button:hover {
  color: #75b1e8;
}

.online, .offline, .me {
  margin-right: 3px;
  font-size: 10px;
}

.online {
  color: #86BB71;
}

.offline {
  color: #E38968;
}

.me {
  color: #94C2ED;
}

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.float-right {
  float: right;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: #f6f6f6;
  border-radius: 2.5px;
}

::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;
  border-radius: 2.5px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #bababa;
}